{Body Text}TextPak allows you to specify the format of text through the use of styles and {In Glossary}Style Definition Files{Body Text}. Once a style is defined, you can mark any section of text with that style, by embedding the style name directly in the text. Each style can take the following attributes:
{Bulleted List}Font Name{Bulleted List}Font Size{Bulleted List}Font Style: the standard Mac font styles: normal, italic, bold...{Bulleted List}Anti-aliased: should the text be aliased or anti-aliasied?{Bulleted List}Colour: both foreground and background colours can be specified{Bulleted List}Prefix: a string is prefixed to the text (used to produce these bullet points){Bulleted List}Hotspot: is the text a glossary/hyperlink{Bulleted List}Major Style: flag if the text should start on a new line or not
{Body Text}You can set any of these attributes to -1. In this case, TextPak maintains the value, for that attribute, of the last piece of text it rendered.
{Body Text}Using this facility, you can apply limited style changes within a run of text. For example, the {Emphasise}Emphasise{Body Text} style changes the font style to bold, leaving the other attributes intact. This means you can emphasise both a heading and body text using the same style.